#!/bin/bash
set -e
set -x
MYDIR="${0%/*}"
cd "$MYDIR/.."
source "recipes/common.sh"


# RECIPE START libgpg-error

reset_mtime libgpg-error libgpg-error/configure.ac
mkdir -p build/libgpg-error
cd build/libgpg-error
../../libgpg-error/configure \
	${CONFIGURE_ARGS} \
	--enable-threads=posix \
	--with-sysroot \
	${AUTOCRAP_KLUDGE}

cd ../..
make_build build/libgpg-error

# RECIPE END libgpg-error
